package com.xiaocheng.serivce;

import com.xiaocheng.bean.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;

public class HelloSerivce {
    @Autowired
    HelloProperties helloProperties;

    public String hello(String username) {
        return helloProperties.getPrefix() + "||" + username + "||" + helloProperties.getSuffix();
    }
}
